package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author GCQ
 * @email python0526@163.com
 * @date 2020-12-18 14:26:55
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    /**
     * 查询出指定attids中的检索属性
     * @param atttrIds
     * @return
     */
    List<Long> selectSearchAttrIds(@Param("atttrIds") List<Long> atttrIds);
}
